package org.uni_hi.lsep.gui.util;

import java.util.Random;
import java.util.Vector;

public class Config {

	public static final String imgSrc="img/";  //  @jve:decl-index=0:
	public static final String iconRightSrc="icon_right.gif";  //  @jve:decl-index=0:
	public static final String iconWrongSrc="icon_wrong.gif";
	public static final String dndISOCompleteSrc="dnd_osi_complete.jpg";  //  @jve:decl-index=0:
	public static final String dndISOBackgroundSrc="dnd_osi_background.jpg";
	public static final String simPCSrc="sim_pc.png";
	public static final String simPCGifSrc="sim_pc.gif";
	public static final String simPCGifMailSrc="sim_pc_mail.gif";
	public static final String simPCGifMailDeniedSrc="sim_pc_mail_deny.gif";
	public static final String simPCGifMailAllowedSrc="sim_pc_mail_allow.gif";
	public static final String simFirewallSrc="sim_firewall.png";
	public static final String simFirewallDefaultSrc="sim_fw_default.gif";
	public static final String simFirewallAnalyzeSrc="sim_fw_analyze.gif";
	public static final String simFirewallAnalyzeStopSrc="sim_fw_analyze_stop.gif";
	public static final String simFirewallMailArrivedSrc="sim_fw_mail_arrived.gif";
	public static final String simFirewallMailDeniedSrc="sim_fw_mail_deny.gif";
	public static final String simFirewallMailDroppedSrc="sim_fw_mail_drop.gif";
	public static final String simFirewallMailAllowedSrc="sim_fw_mail_allow.gif";
	public static final String simInternetSrc="sim_internet.png";
	public static final String simBGSrc="sim_bg.png"; //  @jve:decl-index=0:
	public static final String simBGGifSrc="sim_bg.gif";
	public static final String simMailSrc=imgSrc+"sim_mail.png";
	public static final String windowIcon=imgSrc+"firewall.ico";
	public static final String testLeafIcon=imgSrc+"help_16x16.gif";
	public static final String testNodeIcon=imgSrc+"Help_book.png";
	public static final String testNodeExpandedIcon=imgSrc+"book_blue_open.png";
	public static final String nodeExpandedIcon=imgSrc+"stock_book_open.png";
	public static final String nodeIcon=imgSrc+"stock_book_yellow.png";
	public static final String leafIcon=imgSrc+"page_white_text.png";
	public static final String upIcon=imgSrc+"up_btn.png";
	public static final String downIcon=imgSrc+"down_btn.png";
	
	public static Vector<Integer> getRandomNumberList(int size){
		Vector<Integer> rnl=new Vector<Integer>(size),temp=new Vector<Integer>();
		Random ran=new Random();
		for(int i=0;i<size;i++){
			temp.add(i);
		}
		while(temp.size()!=0){
			rnl.add(temp.remove(ran.nextInt(temp.size())));
		}
		return rnl;
	}
}
